package mywebapp.tools.jsf;

public class CONFIG2
{
  protected static String nl;
  public static synchronized CONFIG2 create(String lineSeparator)
  {
    nl = lineSeparator;
    CONFIG2 result = new CONFIG2();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<root>" + NL + "  <facet id=\"jst.jsf\">" + NL + "    <node name=\"libprov\">" + NL + "      <attribute name=\"provider-id\" value=\"jsf-user-library-provider\"/>" + NL + "    </node>" + NL + "  </facet>" + NL + "</root>";
  protected final String TEXT_2 = NL;

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    stringBuffer.append(TEXT_2);
    return stringBuffer.toString();
  }
}
